﻿<UserControl x:Class="Assembly.Metro.Controls.PageTemplates.Games.Components.MetaComponents.rawBlock"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
             xmlns:local="clr-namespace:Assembly.Metro.Controls.PageTemplates.Games.Components.MetaComponents"
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
             mc:Ignorable="d" MinHeight="95" MaxHeight="200" Width="580"
             HorizontalAlignment="Left">
    <UserControl.Resources>
        <local:LowercaseConverter x:Key="lowercase" />
    </UserControl.Resources>
    <Grid>
        <TextBlock x:Name="lblValueName" Text="{Binding Name}" ToolTip="{Binding Name}" Style="{DynamicResource GenericTextblock}" VerticalAlignment="Top" HorizontalAlignment="Left" Margin="0,5,0,0" Width="180" TextTrimming="CharacterEllipsis"/>
        <TextBox x:Name="txtValue" Text="{Binding Value}" Padding="0,0,0,0" MaxLength="{Binding MaxLength}" TextWrapping="Wrap" HorizontalAlignment="Stretch" ScrollViewer.CanContentScroll="True" ScrollViewer.VerticalScrollBarVisibility="Auto" VerticalAlignment="Stretch" Margin="200,5,10,5" Height="Auto" />
    </Grid>
</UserControl>
